
<style>
	.pageFormContent dl dt{width:100px;}
	.pageFormContent dl dd{width:220px;}
</style>
<div class="pageContent">
    <form method="post" action="{:U('User/verify')}"  onsubmit="return validateCallback(this,dialogAjaxDone);">
        {if $user['id']}<input type="hidden" name="id" value="{$user['id']}" />{/if}
		<input type='hidden' name='group' value='{$group}' />
        <div class="pageFormContent nowrap" layoutH="97">
			
			<dl>
                <dt>用户状态：</dt>
                <dd>
                   <label><input type="radio" name="status" value="0" {if $user['status']==0}checked="checked"{/if}/>禁用</label>
		<label><input type="radio" name="status" value="1" {if $user['status']==1}checked="checked"{/if}/>正常</label>
                </dd>
            </dl>
            <dl>
                <dt>调整用户组：</dt>
                <dd>
                </dd>
            </dl>
							
			<fieldset>
				<volist name='rolegroup' id='roles'  >
					<legend>
					  {$groupname[$key]}											
					<php>$num = $key;</php>
					</legend>
					<div>
						<input name='group_{$num}' type='radio' class='chpro_{$key_num}' checked='checked' value='' />无
						<volist name='roles' id='r'>
							<input name='group_{$num}' type='radio' class='chpro_{$key_num}' {if $userrole[$r['id']]}checked='checked'{/if}  value='{$r.id}' />
							{$r.name}

			&nbsp;&nbsp;
						</volist>
						
					</div>
					
						</volist>
			</fieldset>
			<!--
			            <dl>
                <dt>调整理由：</dt>
                <dd>

<select name='reason'>
		<option>请选择</option>
		<option>资料属实</option>
		<option>活动到场</option>
		<option>业务发展</option>
		<option>客户介绍</option>

</select>

                </dd>
            </dl>
			
			-->
        </div>
        <div class="formBar">
            <ul>
                <li>
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit">
                                保存
                            </button>
                        </div>
                    </div>
                </li>
                <li>
                    <div class="button">
                        <div class="buttonContent">
                            <button type="button" class="close">
                                取消
                            </button>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </form>
</div>
